{include file=header.html}

<div id="rightTop">
    <p>{$lang.name}</p>
    <ul class="subnav">
        <li><a class="btn1"  href="index.php?app=my_wxconfig">{$lang.config_wx_api}</a></li>
        <li><a class="btn1"  href="index.php?app=my_wxfollow">{$lang.my_wxfollow}</a></li>
        <li><span>{$lang.my_wxkeyword}</span></li>
        <li><a class="btn1"  href="index.php?app=my_wxmess">{$lang.my_wxmess}</a></li>
        <li><a class="btn1"  href="index.php?app=my_wxmenu">{$lang.my_wxmenu}</a></li>
    </ul>
</div>

<div class="tdare">
    <link href="{res file=weixin/css/dingcan/css2.css}" rel="stylesheet" type="text/css" />
    <div class="public_index table1">
        <div class="main_right">
            <a href="javascript:" class="addreply"><img src="{res file=weixin/images/dingcan/keywords_03.jpg}" /></a>
            <div class="list" id="add_zsc" style="display:none;"></div>
            <!---------回复列表-------------->
            <!-- {foreach from=$keyinfo item=item} -->
            <div class="list" style="position:relative">
                <h3>{$lang.rules}：{$item.kename}<a href="javascript:" id="zsc_btninfo{$item.kid}" class="add" onclick="zsc_show('{$item.kid}')"></a><a href="javascript:" class="del" id="zsc_del_{$item.kid}" onclick="zscdel('{$item.kid}')"></a></h3>
                <div id="zsc_content_{$item.kid}">
                    <p>{$lang.keywords}：{$item.kyword}</p>
                    <!-- {if $item.type eq 1} --><p>{$lang.reply_text}  </p><!-- {else} --><p>{$lang.reply_text_image} </p><!-- {/if} -->
                </div>
            </div>
            <!-- {/foreach} --> 
            <div id="localImag"><img id="preview" width=-1 height=-1 style="diplay:none" /></div>
        </div>
        <div class="showimg" style="display:none">
            <div class="stit">
                <span>{$lang.upload_image}</span>
                <a href="javascript:zsc_close();"><img src="{res file=weixin/images/dingcan/addpageup_06.jpg}" /></a>
            </div>
            <div class="sup">
                <input type="button" value="{$lang.upload_image}" class="uploadbtn"/>
                <form action="{url app=my_wxkeyword&act=ajaxupload}" method="post" id="zsc_myform" enctype="multipart/form-data" target="yframe"><!-- target="yframe"--><!--target="yframe"-->
                    <input type="file" value="{$lang.upload_image}" class="uploadbtn" style="position:absolute; top:75px; left:20px; filter:alpha(pacity=0);opacity:0; z-index:999;" onchange="zsc_upload()" name="image" />{$lang.upload_image_big}
                    <input type="hidden" name="sub" value="submit" /> 
                </form>
                <iframe name="yframe" src="{url app=my_wxkeyword&act=ajaxupload}" style="border:none; display:none;"></iframe>
            </div>
            <div class="imgbox">

            </div>
            <div class="sbottom"><input type="button" class="submit" id="zsc_surebtn" /></div>
            <!-----正在提交------>
            <span class="loadsubmit">{$lang.uploading}</span>
        </div>
        <div class="zhe" style="display:none"></div>
    </div>
    <script type="text/javascript" src="{res file=weixin/js/dingcan/jquery-1.8.3.min.js}"></script>
    <script type="text/javascript" src="{res file=weixin/js/dingcan/addkeyword2.js}"  charset="utf-8"></script>
    <iframe name="pop_warning" style="display:none;"></iframe>
</div>

{include file=footer.html}